import React from 'react';
import Constants from "../utils/Constants";
import Utils from "../utils";

module.exports = [
  {
    key: 'search_like_username',
    title: '用户名',
    dataType: 'varchar'
  },
  {
    key: 'search_like_entity',
    title: '实体',
    dataType: 'varchar'
  },
  {
    key: 'search_eq_methodType',
    title: '操作类型',
    dataType: 'int',
    showType: 'select',
    options: Utils.map2kvArr(Constants.SYS_LOG_OPERA_MAP),
  },
  {
    key: 'search_gte_createTime_date',
    title: '日志日期',
    dataType: 'datetime',
    showType: 'between',
  }
];